import { request } from '@/utils'

export function startTrack(code: string | number, trackingId: number) {
  return request({
    url: `/opencv-record/v1/tracking/${code}/${trackingId}`,
    method: 'get'
  })
}

export function endTrack(code: string | number) {
  return request({
    url: `/opencv-record/v1/closeTracking/${code}`,
    method: 'get'
  })
}
